(C) 1996 AROS - The Amiga Replacement OS


NAME
BOOL IsDosEntryA()
SYNOPSIS

char * Name
ULONG Flags

LOCATION
FUNCTION
There is a need in file/directory proecessing where an application may need to determine whether a path is just a volume/device or assignment name.

INPUTS
Name
The path to test.
Flags
Any combination of the following: LDF_ASSIGNS LDF_DEVICES LDF_VOLUMES
RESULT
Boolean True or False.

NOTES
Requires the programmer to open the utility.library and initialise UtilityBase.

In future releases the buffer size will be set via a taglist.

EXAMPLE
BOOL Success;

...

Success = IsDosEntryA("Work:", LDF_VOLUMES)
if (Success == TRUE)
{
  ...
}  

BUGS
SEE ALSO
<dos/dosextens.h>
INTERNALS
HISTORY
27.07.1997 laguest
A routine for determining whether a DosEntry is an assign, a volume or a device. If anyone can think of a better name for it, feel free to change it.

Initial inclusion into AROS repository.